package com.hs.common.captcha.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "register")
@Data
public class RegisterProperties {
    private Email email;

    @Data
    public static class Email {
        private String subject;
        private String content1;
        private String content2;
        private String content3;
        private Captcha captcha;
    }

    @Data
    public static class Captcha {
        private long expiration;
    }
}
